package com.wjerp.tplus.server.domain.entity.sys;

import java.util.Date;

/**
 * 这是MyBatis Generator自动生成的Model Class.
 * 对应的数据表是 : user_info
 * 数据表注释 : 用户信息
 * @author lishuailei
 * @date 2020-10-14 10:06:13
 */
public class UserInfo {
    /**
     * 
     */
    private Long id;

    /**
     * 
     */
    private String displayUserId;

    /**
     * 
     */
    private String mobile;

    /**
     * 
     */
    private String password;

    /**
     * 
     */
    private String email;

    /**
     * 
     */
    private Boolean enabled;

    /**
     * 
     */
    private Integer userType;

    /**
     * 
     */
    private Date createdTime;

    /**
     * 
     */
    private Date updatedTime;

    /**
     * 
     */
    private Date lastLoginTime;

    /**
     * 
     */
    private String recommender;

    /**
     * 
     */
    private String inviteCode;

    /**
     * 
     */
    private String name;

    /**
     * 
     */
    private String firstAgentCode;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_info.id
     *
     * @return the value of user_info.id
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_info.id
     *
     * @param id the value for user_info.id
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_info.display_user_id
     *
     * @return the value of user_info.display_user_id
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public String getDisplayUserId() {
        return displayUserId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_info.display_user_id
     *
     * @param displayUserId the value for user_info.display_user_id
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public void setDisplayUserId(String displayUserId) {
        this.displayUserId = displayUserId == null ? null : displayUserId.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_info.mobile
     *
     * @return the value of user_info.mobile
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public String getMobile() {
        return mobile;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_info.mobile
     *
     * @param mobile the value for user_info.mobile
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_info.password
     *
     * @return the value of user_info.password
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public String getPassword() {
        return password;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_info.password
     *
     * @param password the value for user_info.password
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_info.email
     *
     * @return the value of user_info.email
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public String getEmail() {
        return email;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_info.email
     *
     * @param email the value for user_info.email
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_info.enabled
     *
     * @return the value of user_info.enabled
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public Boolean getEnabled() {
        return enabled;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_info.enabled
     *
     * @param enabled the value for user_info.enabled
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_info.user_type
     *
     * @return the value of user_info.user_type
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public Integer getUserType() {
        return userType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_info.user_type
     *
     * @param userType the value for user_info.user_type
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_info.created_time
     *
     * @return the value of user_info.created_time
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public Date getCreatedTime() {
        return createdTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_info.created_time
     *
     * @param createdTime the value for user_info.created_time
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_info.updated_time
     *
     * @return the value of user_info.updated_time
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public Date getUpdatedTime() {
        return updatedTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_info.updated_time
     *
     * @param updatedTime the value for user_info.updated_time
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_info.last_login_time
     *
     * @return the value of user_info.last_login_time
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_info.last_login_time
     *
     * @param lastLoginTime the value for user_info.last_login_time
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_info.recommender
     *
     * @return the value of user_info.recommender
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public String getRecommender() {
        return recommender;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_info.recommender
     *
     * @param recommender the value for user_info.recommender
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public void setRecommender(String recommender) {
        this.recommender = recommender == null ? null : recommender.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_info.invite_code
     *
     * @return the value of user_info.invite_code
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public String getInviteCode() {
        return inviteCode;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_info.invite_code
     *
     * @param inviteCode the value for user_info.invite_code
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public void setInviteCode(String inviteCode) {
        this.inviteCode = inviteCode == null ? null : inviteCode.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_info.name
     *
     * @return the value of user_info.name
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public String getName() {
        return name;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_info.name
     *
     * @param name the value for user_info.name
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_info.first_agent_code
     *
     * @return the value of user_info.first_agent_code
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public String getFirstAgentCode() {
        return firstAgentCode;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_info.first_agent_code
     *
     * @param firstAgentCode the value for user_info.first_agent_code
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public void setFirstAgentCode(String firstAgentCode) {
        this.firstAgentCode = firstAgentCode == null ? null : firstAgentCode.trim();
    }
}